package com.yidianyanglao.core.mapper;

import com.yidianyanglao.core.bean.RoleActionBean;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * Created by wb on 2016/10/29.
 */
@Repository
public interface RoleMapper {

    @Select("SELECT * from role_action where action=#{action} and `type`='app' limit 1")
    RoleActionBean getRoleActionBean(String action);

}
